﻿namespace SharpTrainer.DP.Builder.Generic
{
    public class ConcreteBuilder2 : Builder 
    {
        private SharpTrainer.DP.Builder.Generic.Product product = new SharpTrainer.DP.Builder.Generic.Product(); 
        
        public override void BuildPartA() 
        { 
            product.Add("Part X"); 
        } 
        
        public override void BuildPartB() 
        { 
            product.Add("Part Y"); 
        }

        public override SharpTrainer.DP.Builder.Generic.Product GetResult() 
        { 
            return product; 
        } 
    }
}
